<?php
if (!$l_loged) {
    include "login_error.php";
} else {
    if ($l_role < 0) {
        include "role_error.php";
    } else { ?>
<h2 class="cont_page">Ankety skupiny</h2><br>
<hr>
<p class="navigation">
    <a href="newinquiry.php">Zadat novou anketu</a>
</p>
<hr>
<table id="ankety" class="vypis">
    <tr class="nadpis">
        <td class="nadpis">#</td>
        <td class="nadpis">Anketa</td>
        <td class="nadpis">Do</td>
        <td class="nadpis">Zadal</td>
        <td class="nadpis">Hlasovalo</td>
        <td class="nadpis">Upravit</td>
    </tr>
            <?php inq_fillTab(); ?>
</table>

    <?PHP

    }
}
?>

